package org.tagging.dao.philippines;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.UnknownWord;
import org.tagging.model.UnknownWordPhilippines;

import java.time.LocalDateTime;
import java.util.List;

public interface UnknownWordPhilippinesMapper {
    List<UnknownWordPhilippines> queryByTagId(Integer id);

    void updateSelective(UnknownWord unknownWord);

    UnknownWordPhilippines queryById(Integer id);

    void insertSelective(UnknownWord unknownWord);

    List<UnknownWordPhilippines> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                                  @Param("endTime") LocalDateTime endTime,
                                                  @Param("mode") int mode);

}
